Data groups for a Logix5000 controller (CIP_Protocol="Native") must be defined
on a case-by-case basis.
You must create data groups that satisfy the following requirements:
Controller-scoped tags are considered "global" to a controller; only global tags are accessible to the Allen Bradley CIP EIE. Program-scoped tags are considered "local" to a program; local tags are not accessible to the Allen Bradley CIP EIE. Define data groups that map to global tags and represent only those data items on an associated Allen-Bradley device that you want to include in your CygNet SCADA system.
Tag names are the primary mapping element between CygNet SCADA data groups and Logix5000 data items. A tag is merely the name portion of a name-value pair that represents the output of an Allen-Bradley function. A CygNet SCADA device template file uses the XML element tagname to correlate a CygNet SCADA data point with an Allen- Bradley tag.
Allen-Bradley configuration software (RSLogix 5000) enables you to output a CSV file with all global tags and corresponding data types. This file might help speed up your device template file creation.
To Create a Custom Data Group for CIP
CIP_Protocol="Native" is defined.Example
|
<DateTime niceName="DateTime" dgProtocol="Native" canSend="true" canRecv="true" uccSend=" true" uccRecv="true" devDG="true" baseOrd="0" maxCnt="1" udcCat="~UDCALL" udcDefFac="true"> <dgElements secLev="4" type="i4"> <Year desc="Controller Time Year" tagname="ControllerTime.Yr" hidden="true"/> <Month desc="Controller Time Month" tagname="ControllerTime.Mo" hidden="true"/> <Day desc="Controller Time Day" tagname="ControllerTime.Da" hidden="true"/> <Hour desc="Controller Time Hour" tagname="ControllerTime.Hr" hidden="true"/> <Minutes desc="Controller Time Minutes" tagname="ControllerTime.Min" hidden="true"/> <Seconds desc="Controller Time Seconds" tagname="ControllerTime.Sec" hidden="true"/> <DtComp desc="Date Time" type="string" isRef="1"> <ref prec="0" refOp="opTimeComp" deidYear="Year" deidMonth="Month"deidDay="Day" deidHour="Hour" deidMinute="Minutes" deidSecond="Seconds"/> <ref prec="1" refOp="opFormat" format="DateTime"/> </DtComp> <DtString desc="Date Time (string)" tagname="DateTimeString" type="string" len="32"/> Note: The "len" attribute is optional. Maximum allowed string length is 470. </dgElements> </DateTime> |